package com.qianfeng.dto;

public class Page {
    private Object obj;//当前页数据
    private int pageCount;//总页数
    private boolean hasNext;//是否有下一页

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    @Override
    public String toString() {
        return "Page{" +
                "obj=" + obj +
                ", pageCount=" + pageCount +
                ", hasNext=" + hasNext +
                '}';
    }
}
